//
//  RushStepCell.m
//  K-Music
//
//  Created by 林杰良 on 16/1/10.
//  Copyright © 2016年 CHUN. All rights reserved.
//

#import "RushStepCell.h"

@implementation RushStepCell
-(id)initWithFrame:(CGRect)frame{
    
    self=[super initWithFrame:frame];
    
    if (self) {
        _dt=[[UIImageView alloc]initWithFrame:CGRectMake(0, 0, WIDTH, HEIGHT/4)];
        _dt.image=[UIImage imageNamed:@"组-3"];
        [self addSubview:_dt];
        
        _top_img=[[UIImageView alloc]initWithFrame:CGRectMake(10, 10, 30, 30)];
        _top_img.image=[UIImage imageNamed:@"图层-49"];
        [_dt addSubview:_top_img];
        
        _mylabel=[[UILabel alloc]initWithFrame:CGRectMake(0, HEIGHT/8, WIDTH, 30)];
        _mylabel.text=@"Do  you know";
        _mylabel.textColor=[UIColor whiteColor];
        _mylabel.textAlignment=NSTextAlignmentCenter;
        [_dt addSubview: _mylabel];
        
        
        _my_name=[[UILabel alloc]initWithFrame:CGRectMake(5, _dt.frame.size.height-30, WIDTH/6, 30)];
        _my_name.text=@"黑神";
        _my_name.textColor=[UIColor whiteColor];
        _my_name.textAlignment=NSTextAlignmentCenter;
        [_dt addSubview: _my_name];
        
        _my_fun=[[UILabel alloc]initWithFrame:CGRectMake(_my_name.frame.size.width+_my_name.frame.origin.x +10, _dt.frame.size.height-30, WIDTH/6, 30)];
        _my_fun.text=@"1234人";
        _my_fun.textColor=[UIColor whiteColor];
        _my_fun.textAlignment=NSTextAlignmentCenter;
        [_dt addSubview: _my_fun];
        
    }
    return self;
}

@end
